From: LLVM Packaging Team Date: Mon, 26 Dec 2022 16:50:24 +0000 (+0000) Subject: protobuf_llvm_13.0.1-8 X-Git-Tag: archive/raspbian/1%13.0.1-11+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8c286ef80643c16f528b5fc9e4f7d19e7d9272c2;p=llvm-toolchain-13.git protobuf_llvm_13.0.1-8 Gbp-Pq: Name protobuf_llvm_13.0.1-8.patch --- diff --git a/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp b/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp index 96451f7764..7d06928c2d 100644 --- a/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp +++ b/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp @@ -66,9 +66,8 @@ int main(int argc, char *argv[]) { const auto JsonStatus = google::protobuf::util::MessageToJsonString(Response, &Output, Options); if (!JsonStatus.ok()) { - clang::clangd::elog("Can not convert response ({0}) to JSON ({1}): {2}\n", - Response.DebugString(), JsonStatus.error_code(), - JsonStatus.error_message().as_string()); + clang::clangd::elog("Can not convert response ({0}) to JSON: {1}\n", + Response.DebugString(), JsonStatus.ToString()); return -1; } llvm::outs() << Output;